package com.osdp.gateway.entity;
/**
 * 日志记录实体
 */
public class LoggerEntity {
    private String url;
    private String remoteAddress;
    private String method;
    private Integer statusCode;
    private String username;
    private String displayName;
    private String application;
    private Long startTime;
    private Long endTime;
    private String header;
    private String uri;
    private String uriId;
    private String userAgent;

    public LoggerEntity(){}

    public LoggerEntity(String url, String remoteAddress, String method,
                        Integer statusCode, String username, String displayName,
                        String application, Long startTime, Long endTime, String header,
                        String uri, String uriId, String userAgent) {
        this.url = url;
        this.remoteAddress = remoteAddress;
        this.method = method;
        this.statusCode = statusCode;
        this.username = username;
        this.displayName = displayName;
        this.application = application;
        this.startTime = startTime;
        this.endTime = endTime;
        this.header = header;
        this.uri = uri;
        this.uriId = uriId;
        this.userAgent = userAgent;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getRemoteAddress() {
        return remoteAddress;
    }

    public void setRemoteAddress(String remoteAddress) {
        this.remoteAddress = remoteAddress;
    }

    public String getMethod() {
        return method;
    }

    public void setMethod(String method) {
        this.method = method;
    }

    public Integer getStatusCode() {
        return statusCode;
    }

    public void setStatusCode(Integer statusCode) {
        this.statusCode = statusCode;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getDisplayName() {
        return displayName;
    }

    public void setDisplayName(String displayName) {
        this.displayName = displayName;
    }

    public String getApplication() {
        return application;
    }

    public void setApplication(String application) {
        this.application = application;
    }

    public Long getStartTime() {
        return startTime;
    }

    public void setStartTime(Long startTime) {
        this.startTime = startTime;
    }

    public Long getEndTime() {
        return endTime;
    }

    public void setEndTime(Long endTime) {
        this.endTime = endTime;
    }

    public String getHeader() {
        return header;
    }

    public void setHeader(String header) {
        this.header = header;
    }

    public String getUri() {
        return uri;
    }

    public void setUri(String uri) {
        this.uri = uri;
    }

    public String getUriId() {
        return uriId;
    }

    public void setUriId(String uriId) {
        this.uriId = uriId;
    }

    public String getUserAgent() {
        return userAgent;
    }

    public void setUserAgent(String userAgent) {
        this.userAgent = userAgent;
    }
}
